import { createApis } from "../fulfill";
import service from "@/config/index";

const TOP_SCHEMA = {
  getOrderById: {
    url: "/order",
    method: "POST"
  }
};

const TOP_APIS = createApis(service.serviceTop, TOP_SCHEMA);

export default {
  loadTopOrder (data) {
    return TOP_APIS.getOrderById({ data });
  },
};
